	.file	1 "tp0.c"
	.section .mdebug.abi32
	.previous
	.abicalls
	.rdata
	.align	2
$LC0:
	.ascii	"%x%x\n\000"
	.align	2
$LC1:
	.ascii	"%x%x\000"
	.align	2
$LC2:
	.ascii	"%c\n\000"
	.align	2
$LC3:
	.ascii	"%c\000"
	.align	2
$LC4:
	.ascii	"a\000"
	.text
	.align	2
	.globl	printValues
	.ent	printValues
printValues:
	.frame	$fp,48,$31		# vars= 8, regs= 3/0, args= 16, extra= 8
	.mask	0xd0000000,-8
	.fmask	0x00000000,0
	.set	noreorder
	.cpload	$25
	.set	reorder
	subu	$sp,$sp,48
	.cprestore 16
	sw	$31,40($sp)
	sw	$fp,36($sp)
	sw	$28,32($sp)
	move	$fp,$sp
	move	$3,$4
	sw	$5,52($fp)
	sw	$6,56($fp)
	sw	$7,60($fp)
	lw	$2,72($fp)
	sb	$3,24($fp)
	sb	$2,25($fp)
	lw	$3,52($fp)
	li	$2,1			# 0x1
	bne	$3,$2,$L18
	lb	$3,24($fp)
	li	$2,120			# 0x78
	bne	$3,$2,$L19
	lw	$3,68($fp)
	li	$2,1			# 0x1
	bne	$3,$2,$L20
	la	$4,$LC0
	lw	$5,64($fp)
	lw	$6,60($fp)
	la	$25,printf
	jal	$31,$25
	b	$L17
$L20:
	la	$4,$LC1
	lw	$5,64($fp)
	lw	$6,60($fp)
	la	$25,printf
	jal	$31,$25
	b	$L17
$L19:
	lw	$3,68($fp)
	li	$2,1			# 0x1
	bne	$3,$2,$L23
	lb	$2,25($fp)
	la	$4,$LC2
	move	$5,$2
	la	$25,printf
	jal	$31,$25
	b	$L17
$L23:
	lb	$2,25($fp)
	la	$4,$LC3
	move	$5,$2
	la	$25,printf
	jal	$31,$25
	b	$L17
$L18:
	lw	$4,56($fp)
	la	$5,$LC4
	la	$25,fopen
	jal	$31,$25
	sw	$2,28($fp)
	lb	$3,24($fp)
	li	$2,120			# 0x78
	bne	$3,$2,$L26
	lw	$3,68($fp)
	li	$2,1			# 0x1
	bne	$3,$2,$L27
	lw	$4,28($fp)
	la	$5,$LC0
	lw	$6,64($fp)
	lw	$7,60($fp)
	la	$25,fprintf
	jal	$31,$25
	b	$L29
$L27:
	lw	$4,28($fp)
	la	$5,$LC1
	lw	$6,64($fp)
	lw	$7,60($fp)
	la	$25,fprintf
	jal	$31,$25
	b	$L29
$L26:
	lw	$3,68($fp)
	li	$2,1			# 0x1
	bne	$3,$2,$L30
	lb	$2,25($fp)
	lw	$4,28($fp)
	la	$5,$LC2
	move	$6,$2
	la	$25,fprintf
	jal	$31,$25
	b	$L29
$L30:
	lb	$2,25($fp)
	lw	$4,28($fp)
	la	$5,$LC3
	move	$6,$2
	la	$25,fprintf
	jal	$31,$25
$L29:
	lw	$4,28($fp)
	la	$25,fclose
	jal	$31,$25
$L17:
	move	$sp,$fp
	lw	$31,40($sp)
	lw	$fp,36($sp)
	addu	$sp,$sp,48
	j	$31
	.end	printValues
	.size	printValues, .-printValues
	.align	2
	.globl	getIntegerValue
	.ent	getIntegerValue
getIntegerValue:
	.frame	$fp,32,$31		# vars= 16, regs= 2/0, args= 0, extra= 8
	.mask	0x50000000,-4
	.fmask	0x00000000,0
	.set	noreorder
	.cpload	$25
	.set	reorder
	subu	$sp,$sp,32
	.cprestore 0
	sw	$fp,28($sp)
	sw	$28,24($sp)
	move	$fp,$sp
	move	$2,$4
	sb	$2,8($fp)
	lb	$2,8($fp)
	addu	$2,$2,-97
	sw	$2,16($fp)
	lw	$3,16($fp)
	sltu	$2,$3,6
	beq	$2,$0,$L33
	lw	$2,16($fp)
	sll	$3,$2,2
	la	$2,$L41
	addu	$2,$3,$2
	lw	$2,0($2)
	.cpadd	$2
	j	$2
	.rdata
	.align	2
$L41:
	.gpword	$L34
	.gpword	$L35
	.gpword	$L36
	.gpword	$L37
	.gpword	$L38
	.gpword	$L39
	.text
$L34:
	li	$2,10			# 0xa
	sw	$2,12($fp)
	b	$L33
$L35:
	li	$2,11			# 0xb
	sw	$2,12($fp)
	b	$L33
$L36:
	li	$2,12			# 0xc
	sw	$2,12($fp)
	b	$L33
$L37:
	li	$2,13			# 0xd
	sw	$2,12($fp)
	b	$L33
$L38:
	li	$2,14			# 0xe
	sw	$2,12($fp)
	b	$L33
$L39:
	li	$2,15			# 0xf
	sw	$2,12($fp)
$L33:
	lw	$2,12($fp)
	move	$sp,$fp
	lw	$fp,28($sp)
	addu	$sp,$sp,32
	j	$31
	.end	getIntegerValue
	.size	getIntegerValue, .-getIntegerValue
	.align	2
	.globl	inverseProcess
	.ent	inverseProcess
inverseProcess:
	.frame	$fp,88,$31		# vars= 32, regs= 3/0, args= 32, extra= 8
	.mask	0xd0000000,-8
	.fmask	0x00000000,0
	.set	noreorder
	.cpload	$25
	.set	reorder
	subu	$sp,$sp,88
	.cprestore 32
	sw	$31,80($sp)
	sw	$fp,76($sp)
	sw	$28,72($sp)
	move	$fp,$sp
	move	$2,$4
	move	$3,$5
	sw	$6,96($fp)
	sw	$7,100($fp)
	sb	$2,40($fp)
	sb	$3,41($fp)
	sw	$0,56($fp)
	sw	$0,60($fp)
	sw	$0,64($fp)
	lbu	$3,40($fp)
	li	$2,97			# 0x61
	beq	$3,$2,$L44
	lbu	$3,40($fp)
	li	$2,98			# 0x62
	beq	$3,$2,$L44
	lbu	$3,40($fp)
	li	$2,99			# 0x63
	beq	$3,$2,$L44
	lbu	$3,40($fp)
	li	$2,100			# 0x64
	beq	$3,$2,$L44
	lbu	$3,40($fp)
	li	$2,101			# 0x65
	beq	$3,$2,$L44
	lbu	$3,40($fp)
	li	$2,102			# 0x66
	beq	$3,$2,$L44
	b	$L43
$L44:
	lb	$2,40($fp)
	move	$4,$2
	la	$25,getIntegerValue
	jal	$31,$25
	sw	$2,44($fp)
	lw	$2,44($fp)
	sll	$2,$2,4
	sw	$2,44($fp)
	b	$L45
$L43:
	lbu	$2,40($fp)
	sll	$2,$2,4
	sb	$2,40($fp)
	lbu	$2,40($fp)
	sw	$2,44($fp)
$L45:
	lbu	$3,41($fp)
	li	$2,97			# 0x61
	beq	$3,$2,$L47
	lbu	$3,41($fp)
	li	$2,98			# 0x62
	beq	$3,$2,$L47
	lbu	$3,41($fp)
	li	$2,99			# 0x63
	beq	$3,$2,$L47
	lbu	$3,41($fp)
	li	$2,100			# 0x64
	beq	$3,$2,$L47
	lbu	$3,41($fp)
	li	$2,101			# 0x65
	beq	$3,$2,$L47
	lbu	$3,41($fp)
	li	$2,102			# 0x66
	beq	$3,$2,$L47
	b	$L46
$L47:
	lb	$2,41($fp)
	move	$4,$2
	la	$25,getIntegerValue
	jal	$31,$25
	sw	$2,60($fp)
	b	$L48
$L46:
	li	$2,1			# 0x1
	sw	$2,52($fp)
$L49:
	lbu	$2,41($fp)
	bne	$2,$0,$L52
	b	$L48
$L52:
	lbu	$2,41($fp)
	andi	$2,$2,0x1
	beq	$2,$0,$L53
	lw	$2,56($fp)
	slt	$2,$2,4
	beq	$2,$0,$L54
	lw	$2,60($fp)
	lw	$3,52($fp)
	addu	$2,$2,$3
	sw	$2,60($fp)
	b	$L53
$L54:
	lw	$2,64($fp)
	lw	$3,52($fp)
	addu	$2,$2,$3
	sw	$2,64($fp)
$L53:
	lw	$2,56($fp)
	addu	$2,$2,1
	sw	$2,56($fp)
	lw	$3,56($fp)
	li	$2,4			# 0x4
	bne	$3,$2,$L56
	li	$2,1			# 0x1
	sw	$2,52($fp)
	b	$L51
$L56:
	lw	$2,52($fp)
	sll	$2,$2,1
	sw	$2,52($fp)
$L51:
	lbu	$2,41($fp)
	srl	$2,$2,1
	sb	$2,41($fp)
	b	$L49
$L48:
	lw	$3,44($fp)
	lw	$2,60($fp)
	or	$2,$3,$2
	sw	$2,48($fp)
	lbu	$2,48($fp)
	sb	$2,42($fp)
	sw	$0,16($sp)
	sw	$0,20($sp)
	lb	$2,42($fp)
	sw	$2,24($sp)
	li	$4,98			# 0x62
	lw	$5,96($fp)
	lw	$6,100($fp)
	move	$7,$0
	la	$25,printValues
	jal	$31,$25
	move	$sp,$fp
	lw	$31,80($sp)
	lw	$fp,76($sp)
	addu	$sp,$sp,88
	j	$31
	.end	inverseProcess
	.size	inverseProcess, .-inverseProcess
	.align	2
	.globl	process
	.ent	process
process:
	.frame	$fp,80,$31		# vars= 24, regs= 3/0, args= 32, extra= 8
	.mask	0xd0000000,-8
	.fmask	0x00000000,0
	.set	noreorder
	.cpload	$25
	.set	reorder
	subu	$sp,$sp,80
	.cprestore 32
	sw	$31,72($sp)
	sw	$fp,68($sp)
	sw	$28,64($sp)
	move	$fp,$sp
	move	$2,$4
	sw	$5,84($fp)
	sw	$6,88($fp)
	sw	$7,92($fp)
	sb	$2,40($fp)
	sw	$0,44($fp)
	sw	$0,52($fp)
	sw	$0,56($fp)
	li	$2,1			# 0x1
	sw	$2,48($fp)
$L59:
	lbu	$2,40($fp)
	bne	$2,$0,$L62
	b	$L60
$L62:
	lbu	$2,40($fp)
	andi	$2,$2,0x1
	beq	$2,$0,$L63
	lw	$2,44($fp)
	slt	$2,$2,4
	beq	$2,$0,$L64
	lw	$2,52($fp)
	lw	$3,48($fp)
	addu	$2,$2,$3
	sw	$2,52($fp)
	b	$L63
$L64:
	lw	$2,56($fp)
	lw	$3,48($fp)
	addu	$2,$2,$3
	sw	$2,56($fp)
$L63:
	lw	$2,44($fp)
	addu	$2,$2,1
	sw	$2,44($fp)
	lw	$3,44($fp)
	li	$2,4			# 0x4
	bne	$3,$2,$L66
	li	$2,1			# 0x1
	sw	$2,48($fp)
	b	$L61
$L66:
	lw	$2,48($fp)
	sll	$2,$2,1
	sw	$2,48($fp)
$L61:
	lbu	$2,40($fp)
	srl	$2,$2,1
	sb	$2,40($fp)
	b	$L59
$L60:
	lw	$2,56($fp)
	sw	$2,16($sp)
	lw	$2,92($fp)
	sw	$2,20($sp)
	sw	$0,24($sp)
	li	$4,120			# 0x78
	lw	$5,84($fp)
	lw	$6,88($fp)
	lw	$7,52($fp)
	la	$25,printValues
	jal	$31,$25
	move	$sp,$fp
	lw	$31,72($sp)
	lw	$fp,68($sp)
	addu	$sp,$sp,80
	j	$31
	.end	process
	.size	process, .-process
	.rdata
	.align	2
$LC5:
	.ascii	"r\000"
	.align	2
$LC6:
	.ascii	"\n\000"
	.text
	.align	2
	.globl	binToHex
	.ent	binToHex
binToHex:
	.frame	$fp,64,$31		# vars= 24, regs= 3/0, args= 16, extra= 8
	.mask	0xd0000000,-8
	.fmask	0x00000000,0
	.set	noreorder
	.cpload	$25
	.set	reorder
	subu	$sp,$sp,64
	.cprestore 16
	sw	$31,56($sp)
	sw	$fp,52($sp)
	sw	$28,48($sp)
	move	$fp,$sp
	sw	$4,64($fp)
	sw	$5,68($fp)
	sw	$6,72($fp)
	sw	$7,76($fp)
	sw	$0,32($fp)
	sw	$0,36($fp)
	lw	$3,64($fp)
	li	$2,1			# 0x1
	bne	$3,$2,$L69
	sw	$0,28($fp)
	lw	$3,84($fp)
	lw	$2,28($fp)
	addu	$2,$3,$2
	lbu	$2,0($2)
	sb	$2,24($fp)
$L70:
	lbu	$2,24($fp)
	bne	$2,$0,$L72
	b	$L75
$L72:
	lw	$2,32($fp)
	addu	$2,$2,1
	sw	$2,32($fp)
	lw	$3,32($fp)
	lw	$2,80($fp)
	bne	$3,$2,$L73
	li	$2,1			# 0x1
	sw	$2,36($fp)
	sw	$0,32($fp)
$L73:
	lbu	$2,24($fp)
	move	$4,$2
	lw	$5,72($fp)
	lw	$6,76($fp)
	lw	$7,36($fp)
	la	$25,process
	jal	$31,$25
	lw	$2,28($fp)
	addu	$2,$2,1
	sw	$2,28($fp)
	lw	$3,84($fp)
	lw	$2,28($fp)
	addu	$2,$3,$2
	lbu	$2,0($2)
	sb	$2,24($fp)
	lw	$3,36($fp)
	li	$2,1			# 0x1
	bne	$3,$2,$L70
	sw	$0,36($fp)
	b	$L70
$L69:
	lw	$4,68($fp)
	la	$5,$LC5
	la	$25,fopen
	jal	$31,$25
	sw	$2,40($fp)
	lw	$4,40($fp)
	la	$25,fgetc
	jal	$31,$25
	sb	$2,24($fp)
$L76:
	lw	$2,40($fp)
	lhu	$2,12($2)
	srl	$2,$2,5
	xori	$2,$2,0x1
	andi	$2,$2,0x1
	bne	$2,$0,$L78
	b	$L77
$L78:
	lw	$2,32($fp)
	addu	$2,$2,1
	sw	$2,32($fp)
	lw	$3,32($fp)
	lw	$2,80($fp)
	bne	$3,$2,$L79
	li	$2,1			# 0x1
	sw	$2,36($fp)
	sw	$0,32($fp)
$L79:
	lbu	$2,24($fp)
	move	$4,$2
	lw	$5,72($fp)
	lw	$6,76($fp)
	lw	$7,36($fp)
	la	$25,process
	jal	$31,$25
	lw	$4,40($fp)
	la	$25,fgetc
	jal	$31,$25
	sb	$2,24($fp)
	lw	$3,36($fp)
	li	$2,1			# 0x1
	bne	$3,$2,$L76
	sw	$0,36($fp)
	b	$L76
$L77:
	lw	$4,40($fp)
	la	$25,fclose
	jal	$31,$25
$L75:
	lw	$3,72($fp)
	li	$2,1			# 0x1
	bne	$3,$2,$L81
	la	$4,$LC6
	la	$25,printf
	jal	$31,$25
	b	$L68
$L81:
	lw	$4,76($fp)
	la	$5,$LC4
	la	$25,fopen
	jal	$31,$25
	sw	$2,40($fp)
	lw	$4,40($fp)
	la	$5,$LC6
	la	$25,fprintf
	jal	$31,$25
	lw	$4,40($fp)
	la	$25,fclose
	jal	$31,$25
$L68:
	move	$sp,$fp
	lw	$31,56($sp)
	lw	$fp,52($sp)
	addu	$sp,$sp,64
	j	$31
	.end	binToHex
	.size	binToHex, .-binToHex
	.align	2
	.globl	hexToBin
	.ent	hexToBin
hexToBin:
	.frame	$fp,56,$31		# vars= 16, regs= 3/0, args= 16, extra= 8
	.mask	0xd0000000,-8
	.fmask	0x00000000,0
	.set	noreorder
	.cpload	$25
	.set	reorder
	subu	$sp,$sp,56
	.cprestore 16
	sw	$31,48($sp)
	sw	$fp,44($sp)
	sw	$28,40($sp)
	move	$fp,$sp
	sw	$4,56($fp)
	sw	$5,60($fp)
	sw	$6,64($fp)
	sw	$7,68($fp)
	sw	$0,24($fp)
	lw	$3,56($fp)
	li	$2,1			# 0x1
	bne	$3,$2,$L84
$L85:
	lw	$3,72($fp)
	lw	$2,24($fp)
	addu	$2,$3,$2
	lb	$2,0($2)
	bne	$2,$0,$L87
	b	$L83
$L87:
	lw	$3,72($fp)
	lw	$2,24($fp)
	addu	$2,$3,$2
	lbu	$2,0($2)
	sb	$2,28($fp)
	lw	$2,24($fp)
	addu	$2,$2,1
	sw	$2,24($fp)
	lw	$3,72($fp)
	lw	$2,24($fp)
	addu	$2,$3,$2
	lbu	$2,0($2)
	sb	$2,29($fp)
	lw	$2,24($fp)
	addu	$2,$2,1
	sw	$2,24($fp)
	lbu	$2,28($fp)
	lbu	$3,29($fp)
	move	$4,$2
	move	$5,$3
	lw	$6,64($fp)
	lw	$7,68($fp)
	la	$25,inverseProcess
	jal	$31,$25
	b	$L85
$L84:
	lw	$4,60($fp)
	la	$5,$LC5
	la	$25,fopen
	jal	$31,$25
	sw	$2,32($fp)
	lw	$4,32($fp)
	la	$25,fgetc
	jal	$31,$25
	sb	$2,28($fp)
$L89:
	lw	$2,32($fp)
	lhu	$2,12($2)
	srl	$2,$2,5
	xori	$2,$2,0x1
	andi	$2,$2,0x1
	bne	$2,$0,$L91
	b	$L90
$L91:
	lw	$4,32($fp)
	la	$25,fgetc
	jal	$31,$25
	sb	$2,29($fp)
	lbu	$2,28($fp)
	lbu	$3,29($fp)
	move	$4,$2
	move	$5,$3
	lw	$6,64($fp)
	lw	$7,68($fp)
	la	$25,inverseProcess
	jal	$31,$25
	lw	$4,32($fp)
	la	$25,fgetc
	jal	$31,$25
	sb	$2,28($fp)
	lbu	$3,28($fp)
	li	$2,10			# 0xa
	bne	$3,$2,$L89
	lw	$4,32($fp)
	la	$25,fgetc
	jal	$31,$25
	sb	$2,28($fp)
	b	$L89
$L90:
	lw	$4,32($fp)
	la	$25,fclose
	jal	$31,$25
$L83:
	move	$sp,$fp
	lw	$31,48($sp)
	lw	$fp,44($sp)
	addu	$sp,$sp,56
	j	$31
	.end	hexToBin
	.size	hexToBin, .-hexToBin
	.align	2
	.globl	leerLinea
	.ent	leerLinea
leerLinea:
	.frame	$fp,120,$31		# vars= 80, regs= 3/0, args= 16, extra= 8
	.mask	0xd0000000,-8
	.fmask	0x00000000,0
	.set	noreorder
	.cpload	$25
	.set	reorder
	subu	$sp,$sp,120
	.cprestore 16
	sw	$31,112($sp)
	sw	$fp,108($sp)
	sw	$28,104($sp)
	move	$fp,$sp
	li	$4,64			# 0x40
	la	$25,malloc
	jal	$31,$25
	sw	$2,24($fp)
	li	$2,64			# 0x40
	sw	$2,96($fp)
	lw	$2,24($fp)
	sb	$0,0($2)
$L94:
	lhu	$2,__sF+12
	srl	$2,$2,5
	andi	$2,$2,0x1
	beq	$2,$0,$L96
	b	$L95
$L96:
	addu	$2,$fp,32
	move	$4,$2
	li	$5,63			# 0x3f
	la	$6,__sF
	la	$25,fgets
	jal	$31,$25
	addu	$2,$fp,32
	lw	$4,24($fp)
	move	$5,$2
	la	$25,strcat
	jal	$31,$25
	lw	$4,24($fp)
	li	$5,10			# 0xa
	la	$25,strchr
	jal	$31,$25
	sw	$2,28($fp)
	lw	$2,28($fp)
	bne	$2,$0,$L97
	lw	$2,96($fp)
	addu	$2,$2,64
	sw	$2,96($fp)
	lw	$4,24($fp)
	lw	$5,96($fp)
	la	$25,realloc
	jal	$31,$25
	sw	$2,24($fp)
	b	$L94
$L97:
	lw	$2,28($fp)
	sb	$0,0($2)
$L95:
	lw	$2,24($fp)
	move	$sp,$fp
	lw	$31,112($sp)
	lw	$fp,108($sp)
	addu	$sp,$sp,120
	j	$31
	.end	leerLinea
	.size	leerLinea, .-leerLinea
	.rdata
	.align	2
$LC7:
	.ascii	"Usage:\n"
	.ascii	"  tp0 -h\n"
	.ascii	"  tp0 -V\n"
	.ascii	"  tp0 [options]\n"
	.ascii	"Options:\n"
	.ascii	"  -h, --help         Print this information.\n"
	.ascii	"  -V, --version      Print version and quit.\n"
	.ascii	"  -x, --hexdump      Hexdump mode: encode the input (bin"
	.ascii	"ary file) in hexadecimal\n"
	.ascii	"                     format (default).\n"
	.ascii	"  -b, --binary       Binary mode: decode the input (hexd"
	.ascii	"ump file) in binary\n"
	.ascii	"                     format.\n"
	.ascii	"  -i, --input        Path to input file (defaults to std"
	.ascii	"in).\n"
	.ascii	"  -o, --output       Path to output file (defaults to st"
	.ascii	"dout).\n"
	.ascii	"  -l, --length       Number of hex bytes per line (line "
	.ascii	"length) at the output in\n"
	.ascii	"                     hexdump mode (0 = default = no limi"
	.ascii	"t).\n"
	.ascii	"Examples:\n"
	.ascii	"  tp0\n"
	.ascii	"  tp0 -i -\n"
	.ascii	"  tp0 -i - -o - -x\n"
	.ascii	"  tp0 -b\n"
	.ascii	"  tp0 -i /dev/random -o /tmp/random-hexdump -l 16\n"
	.ascii	"\t\n\000"
	.text
	.align	2
	.globl	mostrarAyuda
	.ent	mostrarAyuda
mostrarAyuda:
	.frame	$fp,40,$31		# vars= 0, regs= 3/0, args= 16, extra= 8
	.mask	0xd0000000,-8
	.fmask	0x00000000,0
	.set	noreorder
	.cpload	$25
	.set	reorder
	subu	$sp,$sp,40
	.cprestore 16
	sw	$31,32($sp)
	sw	$fp,28($sp)
	sw	$28,24($sp)
	move	$fp,$sp
	la	$4,$LC7
	la	$25,printf
	jal	$31,$25
	move	$2,$0
	move	$sp,$fp
	lw	$31,32($sp)
	lw	$fp,28($sp)
	addu	$sp,$sp,40
	j	$31
	.end	mostrarAyuda
	.size	mostrarAyuda, .-mostrarAyuda
	.rdata
	.align	2
$LC8:
	.ascii	"tp0 V1.0 by Marcelo Suvia, Emiliano Ritiro, Diego Sisto\n"
	.ascii	"\000"
	.text
	.align	2
	.globl	mostrarVersion
	.ent	mostrarVersion
mostrarVersion:
	.frame	$fp,40,$31		# vars= 0, regs= 3/0, args= 16, extra= 8
	.mask	0xd0000000,-8
	.fmask	0x00000000,0
	.set	noreorder
	.cpload	$25
	.set	reorder
	subu	$sp,$sp,40
	.cprestore 16
	sw	$31,32($sp)
	sw	$fp,28($sp)
	sw	$28,24($sp)
	move	$fp,$sp
	la	$4,$LC8
	la	$25,printf
	jal	$31,$25
	move	$2,$0
	move	$sp,$fp
	lw	$31,32($sp)
	lw	$fp,28($sp)
	addu	$sp,$sp,40
	j	$31
	.end	mostrarVersion
	.size	mostrarVersion, .-mostrarVersion
	.rdata
	.align	2
$LC9:
	.ascii	"--help\000"
	.align	2
$LC10:
	.ascii	"--version\000"
	.align	2
$LC11:
	.ascii	"--binary\000"
	.align	2
$LC12:
	.ascii	"--input\000"
	.align	2
$LC13:
	.ascii	"--output\000"
	.align	2
$LC14:
	.ascii	"--length\000"
	.align	2
$LC15:
	.ascii	"Ingrese frase o hexadecimales a convertir (enter para te"
	.ascii	"rminar): \n\000"
	.text
	.align	2
	.globl	main
	.ent	main
main:
	.frame	$fp,96,$31		# vars= 48, regs= 3/0, args= 24, extra= 8
	.mask	0xd0000000,-8
	.fmask	0x00000000,0
	.set	noreorder
	.cpload	$25
	.set	reorder
	subu	$sp,$sp,96
	.cprestore 24
	sw	$31,88($sp)
	sw	$fp,84($sp)
	sw	$28,80($sp)
	move	$fp,$sp
	sw	$4,96($fp)
	sw	$5,100($fp)
	sw	$0,32($fp)
	li	$2,120			# 0x78
	sb	$2,36($fp)
	li	$2,1			# 0x1
	sw	$2,40($fp)
	li	$2,1			# 0x1
	sw	$2,44($fp)
	li	$2,1			# 0x1
	sw	$2,64($fp)
$L102:
	lw	$2,64($fp)
	lw	$3,96($fp)
	slt	$2,$2,$3
	bne	$2,$0,$L105
	b	$L103
$L105:
	lw	$2,64($fp)
	sll	$3,$2,2
	lw	$2,100($fp)
	addu	$2,$3,$2
	lw	$2,0($2)
	lb	$3,0($2)
	li	$2,45			# 0x2d
	bne	$3,$2,$L106
	lw	$2,64($fp)
	sll	$3,$2,2
	lw	$2,100($fp)
	addu	$2,$3,$2
	lw	$2,0($2)
	addu	$2,$2,1
	lb	$3,0($2)
	li	$2,45			# 0x2d
	beq	$3,$2,$L106
	lw	$2,64($fp)
	sll	$3,$2,2
	lw	$2,100($fp)
	addu	$2,$3,$2
	lw	$2,0($2)
	addu	$2,$2,1
	lbu	$2,0($2)
	sb	$2,48($fp)
	lb	$2,48($fp)
	addu	$2,$2,-86
	sw	$2,72($fp)
	lw	$3,72($fp)
	sltu	$2,$3,26
	beq	$2,$0,$L106
	lw	$2,72($fp)
	sll	$3,$2,2
	la	$2,$L118
	addu	$2,$3,$2
	lw	$2,0($2)
	.cpadd	$2
	j	$2
	.rdata
	.align	2
$L118:
	.gpword	$L116
	.gpword	$L106
	.gpword	$L106
	.gpword	$L106
	.gpword	$L106
	.gpword	$L106
	.gpword	$L106
	.gpword	$L106
	.gpword	$L106
	.gpword	$L106
	.gpword	$L106
	.gpword	$L106
	.gpword	$L114
	.gpword	$L106
	.gpword	$L106
	.gpword	$L106
	.gpword	$L106
	.gpword	$L106
	.gpword	$L115
	.gpword	$L108
	.gpword	$L106
	.gpword	$L106
	.gpword	$L112
	.gpword	$L106
	.gpword	$L106
	.gpword	$L110
	.text
$L108:
	lw	$2,64($fp)
	addu	$3,$2,1
	lw	$2,96($fp)
	slt	$2,$3,$2
	beq	$2,$0,$L106
	lw	$2,64($fp)
	sll	$3,$2,2
	lw	$2,100($fp)
	addu	$2,$3,$2
	addu	$2,$2,4
	lw	$2,0($2)
	lb	$3,0($2)
	li	$2,45			# 0x2d
	beq	$3,$2,$L106
	lw	$2,64($fp)
	sll	$3,$2,2
	lw	$2,100($fp)
	addu	$2,$3,$2
	addu	$2,$2,4
	lw	$2,0($2)
	sw	$2,52($fp)
	sw	$0,40($fp)
	b	$L106
$L110:
	lw	$2,64($fp)
	addu	$3,$2,1
	lw	$2,96($fp)
	slt	$2,$3,$2
	beq	$2,$0,$L106
	lw	$2,64($fp)
	sll	$3,$2,2
	lw	$2,100($fp)
	addu	$2,$3,$2
	addu	$2,$2,4
	lw	$2,0($2)
	lb	$3,0($2)
	li	$2,45			# 0x2d
	beq	$3,$2,$L106
	lw	$2,64($fp)
	sll	$3,$2,2
	lw	$2,100($fp)
	addu	$2,$3,$2
	addu	$2,$2,4
	lw	$2,0($2)
	sw	$2,56($fp)
	sw	$0,44($fp)
	b	$L106
$L112:
	lw	$2,64($fp)
	addu	$3,$2,1
	lw	$2,96($fp)
	slt	$2,$3,$2
	beq	$2,$0,$L106
	lw	$2,64($fp)
	sll	$3,$2,2
	lw	$2,100($fp)
	addu	$2,$3,$2
	addu	$2,$2,4
	lw	$2,0($2)
	lb	$3,0($2)
	li	$2,45			# 0x2d
	beq	$3,$2,$L106
	lw	$2,64($fp)
	sll	$3,$2,2
	lw	$2,100($fp)
	addu	$2,$3,$2
	addu	$2,$2,4
	lw	$4,0($2)
	la	$25,atoi
	jal	$31,$25
	sw	$2,32($fp)
	b	$L106
$L114:
	li	$2,98			# 0x62
	sb	$2,36($fp)
	b	$L106
$L115:
	li	$2,104			# 0x68
	sb	$2,36($fp)
	b	$L106
$L116:
	li	$2,118			# 0x76
	sb	$2,36($fp)
$L106:
	lw	$2,64($fp)
	sll	$3,$2,2
	lw	$2,100($fp)
	addu	$2,$3,$2
	lw	$4,0($2)
	la	$5,$LC9
	la	$25,strcmp
	jal	$31,$25
	bne	$2,$0,$L119
	li	$2,104			# 0x68
	sb	$2,36($fp)
$L119:
	lw	$2,64($fp)
	sll	$3,$2,2
	lw	$2,100($fp)
	addu	$2,$3,$2
	lw	$4,0($2)
	la	$5,$LC10
	la	$25,strcmp
	jal	$31,$25
	bne	$2,$0,$L120
	li	$2,118			# 0x76
	sb	$2,36($fp)
$L120:
	lw	$2,64($fp)
	sll	$3,$2,2
	lw	$2,100($fp)
	addu	$2,$3,$2
	lw	$4,0($2)
	la	$5,$LC11
	la	$25,strcmp
	jal	$31,$25
	bne	$2,$0,$L121
	li	$2,98			# 0x62
	sb	$2,36($fp)
$L121:
	lw	$2,64($fp)
	sll	$3,$2,2
	lw	$2,100($fp)
	addu	$2,$3,$2
	lw	$4,0($2)
	la	$5,$LC12
	la	$25,strcmp
	jal	$31,$25
	bne	$2,$0,$L122
	lw	$2,64($fp)
	addu	$3,$2,1
	lw	$2,96($fp)
	slt	$2,$3,$2
	beq	$2,$0,$L122
	lw	$2,64($fp)
	sll	$3,$2,2
	lw	$2,100($fp)
	addu	$2,$3,$2
	addu	$2,$2,4
	lw	$2,0($2)
	lb	$3,0($2)
	li	$2,45			# 0x2d
	beq	$3,$2,$L122
	lw	$2,64($fp)
	sll	$3,$2,2
	lw	$2,100($fp)
	addu	$2,$3,$2
	addu	$2,$2,4
	lw	$2,0($2)
	sw	$2,52($fp)
	sw	$0,40($fp)
$L122:
	lw	$2,64($fp)
	sll	$3,$2,2
	lw	$2,100($fp)
	addu	$2,$3,$2
	lw	$4,0($2)
	la	$5,$LC13
	la	$25,strcmp
	jal	$31,$25
	bne	$2,$0,$L124
	lw	$2,64($fp)
	addu	$3,$2,1
	lw	$2,96($fp)
	slt	$2,$3,$2
	beq	$2,$0,$L124
	lw	$2,64($fp)
	sll	$3,$2,2
	lw	$2,100($fp)
	addu	$2,$3,$2
	addu	$2,$2,4
	lw	$2,0($2)
	lb	$3,0($2)
	li	$2,45			# 0x2d
	beq	$3,$2,$L124
	lw	$2,64($fp)
	sll	$3,$2,2
	lw	$2,100($fp)
	addu	$2,$3,$2
	addu	$2,$2,4
	lw	$2,0($2)
	sw	$2,56($fp)
	sw	$0,44($fp)
$L124:
	lw	$2,64($fp)
	sll	$3,$2,2
	lw	$2,100($fp)
	addu	$2,$3,$2
	lw	$4,0($2)
	la	$5,$LC14
	la	$25,strcmp
	jal	$31,$25
	bne	$2,$0,$L104
	lw	$2,64($fp)
	addu	$3,$2,1
	lw	$2,96($fp)
	slt	$2,$3,$2
	beq	$2,$0,$L104
	lw	$2,64($fp)
	sll	$3,$2,2
	lw	$2,100($fp)
	addu	$2,$3,$2
	addu	$2,$2,4
	lw	$2,0($2)
	lb	$3,0($2)
	li	$2,45			# 0x2d
	beq	$3,$2,$L104
	lw	$2,64($fp)
	sll	$3,$2,2
	lw	$2,100($fp)
	addu	$2,$3,$2
	addu	$2,$2,4
	lw	$4,0($2)
	la	$25,atoi
	jal	$31,$25
	sw	$2,32($fp)
$L104:
	lw	$2,64($fp)
	addu	$2,$2,1
	sw	$2,64($fp)
	b	$L102
$L103:
	lb	$3,36($fp)
	li	$2,104			# 0x68
	bne	$3,$2,$L128
	la	$25,mostrarAyuda
	jal	$31,$25
	sw	$0,68($fp)
	b	$L101
$L128:
	lb	$3,36($fp)
	li	$2,118			# 0x76
	bne	$3,$2,$L129
	la	$25,mostrarVersion
	jal	$31,$25
	sw	$0,68($fp)
	b	$L101
$L129:
	lw	$3,40($fp)
	li	$2,1			# 0x1
	bne	$3,$2,$L130
	la	$4,$LC15
	la	$25,printf
	jal	$31,$25
	la	$25,leerLinea
	jal	$31,$25
	sw	$2,60($fp)
$L130:
	lb	$3,36($fp)
	li	$2,120			# 0x78
	bne	$3,$2,$L131
	lw	$2,32($fp)
	sw	$2,16($sp)
	lw	$2,60($fp)
	sw	$2,20($sp)
	lw	$4,40($fp)
	lw	$5,52($fp)
	lw	$6,44($fp)
	lw	$7,56($fp)
	la	$25,binToHex
	jal	$31,$25
	b	$L132
$L131:
	lw	$2,60($fp)
	sw	$2,16($sp)
	lw	$4,40($fp)
	lw	$5,52($fp)
	lw	$6,44($fp)
	lw	$7,56($fp)
	la	$25,hexToBin
	jal	$31,$25
$L132:
	sw	$0,68($fp)
$L101:
	lw	$2,68($fp)
	move	$sp,$fp
	lw	$31,88($sp)
	lw	$fp,84($sp)
	addu	$sp,$sp,96
	j	$31
	.end	main
	.size	main, .-main
	.ident	"GCC: (GNU) 3.3.3 (NetBSD nb3 20040520)"
